import {PageProps} from "@/typing/paging/paging";
import {SupplierType} from "@/typing/supplierType";
import {IsNotEmpty, IsNumber, IsString} from "class-validator";

export class QuerySupplierDto implements PageProps{
    @IsNumber()
    page: number;
    @IsNumber()
    pageSize: number;
    @IsNotEmpty()
    supplierType: SupplierType;
    order: "DESC" | "ASC";
    orderBy: string;
}
